<template>
    <div>
        <h1>这里是hocks对应的方法使用方式。</h1>
        <div>
            这里是鼠标点击的位置： x: <span>{{ point.x }}</span>, y：<span>{{ point.y }}</span>
        </div>
    </div>
</template>

<script setup lang="ts">
    import usePoint from "../hocks/usePoint";
    let point = usePoint();
</script>

<style scoped>

</style>